package com.hdw.job.bean.model;

import java.io.Serializable;

public class EtlTaskOds implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long idTaskOds;

    private String naTaskOds;

    /**
     * 系统
     */	
    private String sdSys;

    private String desEvent;

    private Long idDbSou;

    private String naDbSou;

    private String tbTar;

    private Byte fgCreAuto;

    private String fgStop;

    /**
     * ods  dim
     */	
    private String euType;

    private Byte status;

    private String qsql;

    private String beforSql;

    private String afterSql;

    public Long getIdTaskOds() {
        return idTaskOds;
    }

    public void setIdTaskOds(Long idTaskOds) {
        this.idTaskOds = idTaskOds;
    }

    public String getNaTaskOds() {
        return naTaskOds;
    }

    public void setNaTaskOds(String naTaskOds) {
        this.naTaskOds = naTaskOds == null ? null : naTaskOds.trim();
    }

    public String getSdSys() {
        return sdSys;
    }

    public void setSdSys(String sdSys) {
        this.sdSys = sdSys == null ? null : sdSys.trim();
    }

    public String getDesEvent() {
        return desEvent;
    }

    public void setDesEvent(String desEvent) {
        this.desEvent = desEvent == null ? null : desEvent.trim();
    }

    public Long getIdDbSou() {
        return idDbSou;
    }

    public void setIdDbSou(Long idDbSou) {
        this.idDbSou = idDbSou;
    }

    public String getNaDbSou() {
        return naDbSou;
    }

    public void setNaDbSou(String naDbSou) {
        this.naDbSou = naDbSou == null ? null : naDbSou.trim();
    }

    public String getTbTar() {
        return tbTar;
    }

    public void setTbTar(String tbTar) {
        this.tbTar = tbTar == null ? null : tbTar.trim();
    }

    public Byte getFgCreAuto() {
        return fgCreAuto;
    }

    public void setFgCreAuto(Byte fgCreAuto) {
        this.fgCreAuto = fgCreAuto;
    }

    public String getFgStop() {
        return fgStop;
    }

    public void setFgStop(String fgStop) {
        this.fgStop = fgStop == null ? null : fgStop.trim();
    }

    public String getEuType() {
        return euType;
    }

    public void setEuType(String euType) {
        this.euType = euType == null ? null : euType.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getQsql() {
        return qsql;
    }

    public void setQsql(String qsql) {
        this.qsql = qsql == null ? null : qsql.trim();
    }

    public String getBeforSql() {
        return beforSql;
    }

    public void setBeforSql(String beforSql) {
        this.beforSql = beforSql == null ? null : beforSql.trim();
    }

    public String getAfterSql() {
        return afterSql;
    }

    public void setAfterSql(String afterSql) {
        this.afterSql = afterSql == null ? null : afterSql.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EtlTaskOds other = (EtlTaskOds) that;
        return (this.getIdTaskOds() == null ? other.getIdTaskOds() == null : this.getIdTaskOds().equals(other.getIdTaskOds()))
            && (this.getNaTaskOds() == null ? other.getNaTaskOds() == null : this.getNaTaskOds().equals(other.getNaTaskOds()))
            && (this.getSdSys() == null ? other.getSdSys() == null : this.getSdSys().equals(other.getSdSys()))
            && (this.getDesEvent() == null ? other.getDesEvent() == null : this.getDesEvent().equals(other.getDesEvent()))
            && (this.getIdDbSou() == null ? other.getIdDbSou() == null : this.getIdDbSou().equals(other.getIdDbSou()))
            && (this.getNaDbSou() == null ? other.getNaDbSou() == null : this.getNaDbSou().equals(other.getNaDbSou()))
            && (this.getTbTar() == null ? other.getTbTar() == null : this.getTbTar().equals(other.getTbTar()))
            && (this.getFgCreAuto() == null ? other.getFgCreAuto() == null : this.getFgCreAuto().equals(other.getFgCreAuto()))
            && (this.getFgStop() == null ? other.getFgStop() == null : this.getFgStop().equals(other.getFgStop()))
            && (this.getEuType() == null ? other.getEuType() == null : this.getEuType().equals(other.getEuType()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getQsql() == null ? other.getQsql() == null : this.getQsql().equals(other.getQsql()))
            && (this.getBeforSql() == null ? other.getBeforSql() == null : this.getBeforSql().equals(other.getBeforSql()))
            && (this.getAfterSql() == null ? other.getAfterSql() == null : this.getAfterSql().equals(other.getAfterSql()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIdTaskOds() == null) ? 0 : getIdTaskOds().hashCode());
        result = prime * result + ((getNaTaskOds() == null) ? 0 : getNaTaskOds().hashCode());
        result = prime * result + ((getSdSys() == null) ? 0 : getSdSys().hashCode());
        result = prime * result + ((getDesEvent() == null) ? 0 : getDesEvent().hashCode());
        result = prime * result + ((getIdDbSou() == null) ? 0 : getIdDbSou().hashCode());
        result = prime * result + ((getNaDbSou() == null) ? 0 : getNaDbSou().hashCode());
        result = prime * result + ((getTbTar() == null) ? 0 : getTbTar().hashCode());
        result = prime * result + ((getFgCreAuto() == null) ? 0 : getFgCreAuto().hashCode());
        result = prime * result + ((getFgStop() == null) ? 0 : getFgStop().hashCode());
        result = prime * result + ((getEuType() == null) ? 0 : getEuType().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getQsql() == null) ? 0 : getQsql().hashCode());
        result = prime * result + ((getBeforSql() == null) ? 0 : getBeforSql().hashCode());
        result = prime * result + ((getAfterSql() == null) ? 0 : getAfterSql().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", idTaskOds=").append(idTaskOds);
        sb.append(", naTaskOds=").append(naTaskOds);
        sb.append(", sdSys=").append(sdSys);
        sb.append(", desEvent=").append(desEvent);
        sb.append(", idDbSou=").append(idDbSou);
        sb.append(", naDbSou=").append(naDbSou);
        sb.append(", tbTar=").append(tbTar);
        sb.append(", fgCreAuto=").append(fgCreAuto);
        sb.append(", fgStop=").append(fgStop);
        sb.append(", euType=").append(euType);
        sb.append(", status=").append(status);
        sb.append(", qsql=").append(qsql);
        sb.append(", beforSql=").append(beforSql);
        sb.append(", afterSql=").append(afterSql);
        sb.append("]");
        return sb.toString();
    }
}